package com.entity;
//1
import java.util.Date;

public class Message {
    private Integer mid;        //id
    private Integer fromuNo;     //来源uNo
    private String fromName;     //来源姓名
    private Integer touNo;         //目标uNo
    private String toName;         //目标姓名
    private String title;       //标题
    private String content;     //内容
    private String date;        //日期

    @Override
    public String toString() {
        return "Message{" +
                "mid=" + mid +
                ", fromuNo=" + fromuNo +
                ", fromName='" + fromName + '\'' +
                ", touNo=" + touNo +
                ", toName='" + toName + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", date='" + date + '\'' +
                '}';
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getToName() {
        return toName;
    }

    public void setToName(String toName) {
        this.toName = toName;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getFromuNo() {
        return fromuNo;
    }

    public void setFromuNo(Integer fromuNo) {
        this.fromuNo = fromuNo;
    }

    public Integer getTouNo() {
        return touNo;
    }

    public void setTouNo(Integer touNo) {
        this.touNo = touNo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
